package com.example.hellondk;

import android.app.Activity;
import android.opengl.GLSurfaceView;
import android.os.Bundle;

public class HelloNDK extends Activity {
	public void onCreate(Bundle savedInstanceState) {  
        super.onCreate(savedInstanceState);  
        GLSurfaceView surface = new GLSurfaceView(this);  
        surface.setRenderer(new NdkGLRenderer());  
        setContentView(surface);  
    }  
    static {  
         //加载本地共享库   
         System.loadLibrary("NdkGLRenderer");  
    }  
}
